package com.renshuai.demo.mybatis.config;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

import org.apache.ibatis.annotations.Select;

public class MyInvocationhandler implements InvocationHandler {

	public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
		System.out.println(method.getAnnotation(Select.class).value()[0]);
		return null;
	}

}
